﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Order
/// </summary>
public class Order
{
    //declare
    private int _odID;


    private String _odCode;
    private int _cusId;
    private DateTime _orderDate;
    private String _status;
    private String _shipFname;
    private String _shipLname;
    private String _shipEmail;
    private String _shipAddress;
    private String _shipPhone;
    private String _shipState;
    private String _shipCity;
    private String _shipZipCode;
    private String _payName;
    private String _payCardType;
    private String _payCardNum;
    private DateTime _payExpri;
    private String _payVeriNum;
    private int _quantity;
    private decimal _totalmoney;

    //method
    public int OdID
    {
        get { return _odID; }
        set { _odID = value; }
    }
    public String OdCode
    {
        get { return _odCode; }
        set { _odCode = value; }
    }

    public int CusId
    {
        get { return _cusId; }
        set { _cusId = value; }
    }

    public DateTime OrderDate
    {
        get { return _orderDate; }
        set { _orderDate = value; }
    }


    public String Status
    {
        get { return _status; }
        set { _status = value; }
    }

    public String ShipFname
    {
        get { return _shipFname; }
        set { _shipFname = value; }
    }

    public String ShipLname
    {
        get { return _shipLname; }
        set { _shipLname = value; }
    }

    public String ShipEmail
    {
        get { return _shipEmail; }
        set { _shipEmail = value; }
    }

    public String ShipAddress
    {
        get { return _shipAddress; }
        set { _shipAddress = value; }
    }

    public String ShipPhone
    {
        get { return _shipPhone; }
        set { _shipPhone = value; }
    }
    public String ShipState
    {
        get { return _shipState; }
        set { _shipState = value; }
    }

    public String ShipCity
    {
        get { return _shipCity; }
        set { _shipCity = value; }
    }

    public String ShipZipCode
    {
        get { return _shipZipCode; }
        set { _shipZipCode = value; }
    }

    public String PayName
    {
        get { return _payName; }
        set { _payName = value; }
    }

    public String PayCardType
    {
        get { return _payCardType; }
        set { _payCardType = value; }
    }

    public String PayCardNum
    {
        get { return _payCardNum; }
        set { _payCardNum = value; }
    }

    public DateTime PayExpri
    {
        get { return _payExpri; }
        set { _payExpri = value; }
    }

    public String PayVeriNum
    {
        get { return _payVeriNum; }
        set { _payVeriNum = value; }
    }
   

    public int Quantity
    {
        get { return _quantity; }
        set { _quantity = value; }
    }

    public decimal Totalmoney
    {
        get { return _totalmoney; }
        set { _totalmoney = value; }
    }
	public Order()
	{
		//
		// TODO: Add constructor logic here
		//
	}
}